package com.wang.system.domain.exam.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.util.LinkedHashSet;

@Setter
@Getter
public class ExamQuestionDTO {

    @Schema(description = "竞赛id")
    @NotNull(message = "竞赛id不能为空")
    private Long examId;

    @Schema(description = "要添加的题目id集合")
    @NotEmpty(message = "要添加的题目集合不能为空")
    private LinkedHashSet<Long> questionIdSet;
}
